
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 RmsCleaningRuleConfig 分页列表
*/
export function getRmsCleaningRuleConfigPagination(data: any) {
  return axios.get(`${context}/rmsCleaningRuleConfig/pagination`, { params: data });
}


/**
 * 获取 RmsCleaningRuleConfig 所有数据
*/
export function getRmsCleaningRuleConfigAllList(data: any) {
  return axios.get(`${context}/rmsCleaningRuleConfig/all`, { params: data });
}


/**
 * 获取 RmsCleaningRuleConfig 详情
*/
export function getRmsCleaningRuleConfigDetailById(id: any) {
  return axios.get(`${context}/rmsCleaningRuleConfig/${id}`, { params:{id} });
}


/**
 * 新增 RmsCleaningRuleConfig
*/
export function addRmsCleaningRuleConfig(data: any) {
  return axios.post(`${context}/rmsCleaningRuleConfig`, data);
}

/**
 * 修改 RmsCleaningRuleConfig
*/
export function updateRmsCleaningRuleConfig(data: any) {
  return axios.put(`${context}/rmsCleaningRuleConfig`, data);
}

/**
 * 删除 RmsCleaningRuleConfig
*/
export function batchRemoveRmsCleaningRuleConfig(data: any) {
  return axios.post(`${context}/rmsCleaningRuleConfig/batchRemove`, data);
}

    